import { LANG_ENUM } from "../i18n/zh"
/**
  * 游戏配置文件
  */
 export module GameConfig {
    export var openLobby: boolean = true;
    export var httpServerBaseURL: string = "";
    export var socketBaseURL: string = "";
    export var channelId: string = "";
    export var testUid: string = "";
    export var gameName: string = "";
    export var gameVer: string = "1.0.27";

    /**
     * 微信广告id
     */
    export var adId: string = "";
    export var bannerAdId: string = "";
    /**
     * 微信分配的appid
     */
    export var wxAppId: string = "";

    //分享信息
    export var shareInfo: any[] = [
        {
            "title": "我在玩泡泡龙",
            "url": "https://res.12317wan.com/resource/game/2574//snake-zz/share/1.png"
        }
    ];

    export function getKey() { return this.key };
    export function getAppCode() { return this.appCode };  

    export var openGUI: boolean = false;
    export var gameType: string = "";
    // export var baseurl:string = "https://nanapi.szvi-bo.com/"  // 测试
    export var baseurl:string = ""  // 线上
    export var appid:string = "wxf83d74de62ec6abb"
    export var TransitionSceneDuration:number = 0.1;

    export var SoundSwitch:boolean =  true;          //是否打开声音
    export var ClearDataFlag: string = "0817";
    export var languages:number = LANG_ENUM.ZH;
}
